﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emoney.Spider.Basic;
using System.IO;
using Emoney.Cms.Spider;

namespace Emoney.Cms.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            //string url = "http://bg.panlv.net/down.aspx?file=8652629560504A56";

            //string content = GatherHtml.GetPageByUrl(url, "utf-8");

            //Uri uri = new Uri("http://bg.panlv.net/down.aspx?file=8652629560504A56");

            //byte[] file ;
            //file = File.ReadAllBytes(uri);
            //string content = File.ReadAllText(uri);
            //MemoryStream memoryStream = new MemoryStream(file);

            CmsGather cg = new CmsGather();
            cg.UpdateStockStarHYBG();

            Console.WriteLine("Done");
            Console.Read();
            

        }
    }
}
